package com.tyning.designpattern.subject.impl;

import com.another.designpattern.subject.Observer;

import java.util.UUID;

/**
 * 观察者
 */
public class ConcreteObserver implements Observer {

    @Override
    public void run() {
        UUID uuid = UUID.randomUUID();
        System.out.print("\n" + uuid.toString() + "\n");
    }
}
